#ifndef HITINFO_H
#define HITINFO_H

#include "Vector3D.h"

namespace RayTracer
{
    class ISurface;

    class HitInfo
    {
    public:
	Vector3D hitPoint;
	ISurface *surface;

	int res;
	float distance;

	static const int Hit = 1;
	static const int Miss = 0;
	static const int HitInside = -1;
		
	HitInfo(ISurface *surface, const Vector3D *hitPoint, float distance, int result);
	HitInfo();
    };
};
#endif
